import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 配置Mint-UI
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.min.css'
Vue.use(MintUI);

// 引入顶部选项卡navbar
import { Navbar, TabItem } from 'mint-ui';
Vue.component(Navbar.name, Navbar);
Vue.component(TabItem.name, TabItem);

// 引入Header
import { Header } from 'mint-ui';
Vue.component(Header.name, Header);

// 引入搜索框
import { Search } from 'mint-ui';
Vue.component(Search.name, Search);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
